package counter;

public class UnsafeCounter implements Counter {
    private long counter = 0; 

    @Override
    public void increment() {
        counter++;
    }

    @Override
    public long getCounter() {
        return counter;
    }
    
    @Override
    public String toString() {
        return "UnsafeCounter";
    }
}
